package frpclib;

import go.Seq;

/**
 * Frp
 * @author Lyn 2022/12/26
 * @version 1.0.0
 */
public class Frpclib {
    static {
        Seq.touch(); // for loading the native library
        _init();
    }

    private static native void _init();

    public static native boolean close(String uid);

    public static native String getUids();

    public static native boolean isRunning(String uid);

    public static native String runContent(String uid, String cfgContent);

    public static native String runFile(String uid, String cfgFilePath);
}
